package com.example.cangzhou.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.cangzhou.entity.User;
import com.example.cangzhou.result.Result;
import com.example.cangzhou.vo.UserVo;
import org.springframework.stereotype.Service;

@Service
public interface UserService extends IService<User> {
    Result<UserVo> login(String account, String password);

    Result<UserVo> register(UserVo userVo);

    Page<User> pageList(Page<User> page, User user);

}
